<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>
</head>
<body>

	<div class="content-wrapper" th:fragment="docSearch">

		<h3>文档搜索</h3>
		<div class="row  mb-sm">
			
			<div class="col-lg-6">
				<div class="input-group m-b col-lg-12">
					<form class="form-horizontal " method="post" id="searchForm">
					<div class="input-group">
						<input class="form-control " type="text" id="searchText"  th:value="${searchText}" /> <input class="form-control" type="hidden"
							id="queryText" name="queryText" th:value="${queryText}" />

						<div class="input-group-btn ">

							<button type="button" tabindex="-1" id="searchBtn" class="btn btn-default fa fa-search"></button>
							<button type="button" id="advancedQueryBtn" class="btn btn-default">高级查询</button>
							<button type="button" class="btn btn-primary " title="保存当前自定义查询条件" id="addBtn">保存</button>

						</div>
					</div>
				</form>

				</div>


			</div>
			
			
		</div>
		
		
		
		<div class="row">
			<div th:replace=" doc/list/docList ::docList"></div>
		    <input class="form-control" type="hidden" id="returnPage" name="returnPage" value="docSearch_list" />
			<input class="form-control" type="hidden" id="queryUrl" name="queryUrl"  value="docSearch/query"/>
			
		</div>



		<input type="hidden" id="csId" name="csId" th:value="${csId}" />


	</div>

	<div th:fragment="docSearch_dialog">

		<div id="dialogMode" tabindex="-1" role="dialog" aria-labelledby="myModalLabelLarge" aria-hidden="true"
			class="modal fade">
			<div class="modal-dialog ">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" data-dismiss="modal" aria-label="Close" class="close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 id="modelTitle" class="modal-title">保存查询条件</h4>
					</div>
					<div class="modal-body">
						<form id="advancedQueryDialogForm">
							<div class="form-group">
								<label class="control-label">条件名称 *</label> <input type="text" id="csName" name="csName" required=""
									minlength="2" class="form-control" />
							</div>



							<input type="hidden" id="oper" name="oper" value="" />

						</form>

					</div>
					<div class="modal-footer">
						<button type="button" data-dismiss="modal" class="btn btn-default">取消</button>
						<button type="button" id="saveBtn" class="btn btn-primary">保存</button>
					</div>
				</div>
			</div>
		</div>


	</div>


	<div th:fragment="docSearch_js">
		<script th:src="@{/jqPaginator/js/jqPaginator.min.js}"></script>
		<script th:src="@{/business/doc/list/docList.js}"></script>
		<script th:src="@{/business/doc/docSearch.js}"></script>

	</div>
</body>
</html>